Merge from emacs-24; up to r110855
authorGlenn Morris <rgm@gnu.org>
Tue, 13 Nov 2012 02:25:59 +0000 (18:25 -0800)
committerGlenn Morris <rgm@gnu.org>
Tue, 13 Nov 2012 02:25:59 +0000 (18:25 -0800)
1  2 
doc/emacs/ChangeLog
doc/lispref/ChangeLog
doc/misc/ChangeLog
etc/NEWS
lisp/ChangeLog
lisp/cedet/ChangeLog
lisp/emacs-lisp/debug.el
lisp/emacs-lisp/gv.el
lisp/progmodes/ruby-mode.el
src/ChangeLog
src/xdisp.c

index 535b8d89d7e0cb270d0fe6d2246cfadc74c32bd5,5160005846cc880cbbc9a6e78d3e8121af2e7a8b..831bd15317bdb8c6d4294cfa09b1724098ff764f
@@@ -1,3 -1,12 +1,12 @@@
 -2012-11-12  Chong Yidong  <cyd@gnu.org>
++2012-11-13  Chong Yidong  <cyd@gnu.org>
+       * building.texi (Multithreaded Debugging): gdb-stopped-hooks is
+       actually named gdb-stopped-functions.
 -2012-11-12  Glenn Morris  <rgm@gnu.org>
++2012-11-13  Glenn Morris  <rgm@gnu.org>
+       * misc.texi (Single Shell): Mention async-shell-command-buffer.
  2012-11-10  Glenn Morris  <rgm@gnu.org>
  
        * misc.texi (Terminal emulator): Rename `term-face' to `term'.
index eca3e09f369b825c6289009e22b227709eb6f1db,522502a10c453639d0aa5f0e570a82994b7f4ea5..197b6229818b01ed8ec0b39de2993ac357950308
@@@ -1,4 -1,21 +1,19 @@@
 -2012-11-12  Glenn Morris  <rgm@gnu.org>
++2012-11-13  Glenn Morris  <rgm@gnu.org>
+       * variables.texi (Adding Generalized Variables):
+       At least mention gv-define-expander and gv-letplace.
 -2012-11-11  Glenn Morris  <rgm@gnu.org>
 -
+       * debugging.texi (Error Debugging): Mention debug-on-message.
+       (Using Debugger): Mention debugger-bury-or-kill.
+       * control.texi (Signaling Errors):
+       * debugging.texi (Error Debugging):
+       * errors.texi (Standard Errors): Add user-error.
+       * variables.texi (Adding Generalized Variables):
+       Use standard formatting for common lisp note about setf functions.
 -2012-11-07  Martin Rudalics  <rudalics@gmx.at>
 +2012-11-10  Martin Rudalics  <rudalics@gmx.at>
  
        * elisp.texi (Top): Add Recombining Windows to menu.
        * windows.texi (Recombining Windows): New subsection.
index c3d55bf484c627d6d57f3fa29992ac52fa1ca024,687dc7710f5410250a85604ecc500f3ae9f4fab7..ea6e9a11d300a88aea66b3fbc5bf1b60c4ca2b4e
@@@ -1,18 -1,10 +1,24 @@@
 -2012-11-12  Glenn Morris  <rgm@gnu.org>
++2012-11-13  Glenn Morris  <rgm@gnu.org>
+       * flymake.texi (Customizable variables)
+       (Highlighting erroneous lines): Mention flymake-error-bitmap,
+       flymake-warning-bitmap, and flymake-fringe-indicator-position.
 -2012-11-09  Chong Yidong  <cyd@gnu.org>
 +2012-11-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
 +
 +      * ses.texi: Doc for ses-rename-cell, ses-repair-cell-reference-all & ses-range.
 +      In all file place SES into @acronym{...}.
 +      (Advanced Features): Add key index and function index for
 +      ses-set-header-row. Add description for function
 +      ses-rename-cell. Add description for function
 +      ses-repair-cell-reference-all.
 +      (Ranges in formulas): Add description for ses-range flags.
 +
 +2012-11-12  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * texinfo.tex: Merge from gnulib.
 +
 +2012-11-10  Chong Yidong  <cyd@gnu.org>
  
        * url.texi (Introduction): Move url-configuration-directory to
        Customization node.
diff --cc etc/NEWS
Simple merge
diff --cc lisp/ChangeLog
index 2889e90623bb0f06bbd56d8394693d617747b475,23e1de832764db026075e6bb33020686d8825dfc..031b0ca97583b00af5c8a0da5b5ef9c0bb5f586e
@@@ -1,39 -1,58 +1,89 @@@
 -2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
++2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
 -2012-11-12  Wolfgang Jenkner  <wjenkner@inode.at>
++2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
+       * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
 -      39 and 49.  This fixes bug#12792.  Also, treat unimplemented
 -      parameters as 0, thereby restoring the behavior of revisions prior
 -      to 109621.
++      39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
++      thereby restoring the behavior of revisions prior to 109621.
 -2012-11-12  Fabián Ezequiel Gallina  <fgallina@cuca>
++2012-11-13  Fabián Ezequiel Gallina  <fgallina@cuca>
+       Fix end-of-defun misbehavior.
+       * progmodes/python.el (python-nav-beginning-of-defun): Rename from
+       python-beginning-of-defun-function.  Handle nested defuns
+       correctly.
+       (python-nav-end-of-defun): Rename from
+       python-end-of-defun-function.  Ensure forward movement.
+       (python-info-current-defun): Reimplement to work as intended
+       with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
+       parent defuns as soon as possible.
 -2012-11-12  Glenn Morris  <rgm@gnu.org>
++2012-11-13  Glenn Morris  <rgm@gnu.org>
+       * progmodes/flymake.el (flymake-error-bitmap)
+       (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
+       (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
 -2012-11-12  Dmitry Gutov  <dgutov@yandex.ru>
++2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
+       * progmodes/ruby-mode.el (ruby-move-to-block): When moving
+       backward, always stop at indentation.  Reverts the change from
+       109576 (Bug#12851).
 -2012-11-11  Glenn Morris  <rgm@gnu.org>
++2012-11-13  Glenn Morris  <rgm@gnu.org>
+       * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
+       Add ibuffer-filter-by-derived-mode.
+       * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
+       the same name shadowing each other.
+       * window.el (with-temp-buffer-window): Doc tweak.
+       * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
+       * help.el (temp-buffer-max-height):
+       * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
+       * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
 -2012-11-10  Leo Liu  <sdl.web@gmail.com>
 +2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * ido.el (ido-set-matches-1): Fix split-string args to avoid
 -      performance issue.  (Bug#12796)
 +      * emacs-lisp/nadvice.el: New package.
 +      * subr.el (special-form-p): New function.
 +      * emacs-lisp/elp.el: Use lexical-binding and advice-add.
 +      (elp-all-instrumented-list): Remove var.
 +      (elp-not-profilable): Remove elp-wrapper.
 +      (elp-profilable-p): Use autoloadp and special-form-p.
 +      (elp--advice-name): New const.
 +      (elp-instrument-function): Use advice-add.
 +      (elp--instrumented-p): New predicate.
 +      (elp-restore-function): Use advice-remove.
 +      (elp-restore-all, elp-reset-all): Use mapatoms.
 +      (elp-set-master): Use elp--instrumented-p.
 +      (elp--make-wrapper): Rename from elp-wrapper, return a function
 +      suitable for advice-add.  Use cl-inf.
 +      (elp-results): Use mapatoms+elp--instrumented-p.
 +      * emacs-lisp/debug.el: Use lexical-binding and advice-add.
 +      (debug-function-list): Remove var.
 +      (debug): Rename arg, and then let-bind it explicitly inside.
 +      (debugger-setup-buffer): Rename arg.
 +      (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
 +      (debugger-frame-number): Adjust to new debug-on-entry setup.
 +      (debug--implement-debug-on-entry): Rename from
 +      implement-debug-on-entry, add argument.
 +      (debugger-special-form-p): Remove, use special-form-p instead.
 +      (debug-on-entry): Use advice-add.
 +      (debug--function-list): New function.
 +      (cancel-debug-on-entry): Use it, along with advice-remove.
 +      (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
 +      (debugger-list-functions): Use debug--function-list instead of
 +      debug-function-list.
 +      * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
 +      (ad-special-form-p): Remove, use special-form-p instead.
 +      (ad-set-advice-info): Use add-function and remove-function.
 +      (ad--defalias-fset): Adjust accordingly.
  
  2012-11-10  Glenn Morris  <rgm@gnu.org>
  
index d3150406e14381590826f69d17e9ce3752df4e01,73758d5761b1594dfa2d2c520d0e42922087c453..52f38fba818be161f91a74476bbf4eeff0689e3a
@@@ -1,7 -1,20 +1,20 @@@
 -2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
++2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
+       * semantic/grammar.el (semantic-grammar-mode):
+       * semantic/util-modes.el (semantic-highlight-edits-mode)
+       (semantic-show-parser-state-mode): Avoid obsolete name
+       semantic-edits-new-change-hooks (bug#12869).
 -2012-11-10  Glenn Morris  <rgm@gnu.org>
++2012-11-13  Glenn Morris  <rgm@gnu.org>
+       * srecode/srt-mode.el (srecode-template-mode):
+       Don't change global values of comment-start, comment-end.  (Bug#12781)
  2012-10-25  David Engster  <deng@randomsample.de>
  
-       * semantic/analyze.el (semantic-analyze-dereference-alias): New
-       function to dereference aliases.
+       * semantic/analyze.el (semantic-analyze-dereference-alias):
+       New function to dereference aliases.
        (semantic-analyze-current-context-default): Use it.
  
        * semantic/grammar.el (semantic-grammar-create-package):
index 3d4f41be8ee4f00d879ca845df7e4d6054a7dbba,6be30fc916421cea8367fc89b4eb7081c31913b7..a378941a5a4bc7c863e7e346c0365fe69217eccb
@@@ -79,8 -79,11 +79,8 @@@ The value used here is passed to `quit-
          (const :tag "Bury" bury)
          (const :tag "Kill" kill))
    :group 'debugger
-   :version "24.2")
+   :version "24.3")
  
 -(defvar debug-function-list nil
 -  "List of functions currently set for debug on entry.")
 -
  (defvar debugger-step-after-exit nil
    "Non-nil means \"single-step\" after the debugger exits.")
  
Simple merge
Simple merge
diff --cc src/ChangeLog
index 6a155f1cbc62c39128d22e823b4bafebe11b4bc6,c173b3f13a89aeafb9a091f9ca0a692428185257..df663bdd6638abaa2096f1641c767b5052f9ce54
@@@ -1,59 -1,12 +1,67 @@@
 -2012-11-12  Eli Zaretskii  <eliz@gnu.org>
++2012-11-13  Eli Zaretskii  <eliz@gnu.org>
+       * xdisp.c (decode_mode_spec): Limit the value of WIDTH argument
+       passed to pint2str and pint2hrstr to be at most the size of the
+       frame's decode_mode_spec_buffer.  This avoids crashes with very
+       large values of FIELD_WIDTH argument to decode_mode_spec.
+       (Bug#12867)
 -2012-11-07  Martin Rudalics  <rudalics@gmx.at>
 +2012-11-13  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Fix a race with verify-visited-file-modtime (Bug#12863).
 +      Since at least 1991 Emacs has ignored an mtime difference of no
 +      more than one second, but my guess is that this was to work around
 +      file system bugs that were fixed long ago.  Since the race is
 +      causing problems now, let's remove that code.
 +      * fileio.c (Fverify_visited_file_modtime): Do not accept a file
 +      whose time stamp is off by no more than a second.  Insist that the
 +      file time stamps match exactly.
 +
 +2012-11-12  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * frame.h (struct frame): Convert external_tool_bar member to
 +      1-bit unsigned bitfield.
 +      * termhooks.h (struct terminal): Remove mouse_moved member since
 +      all users are long dead.  Adjust comment on mouse_position_hook.
 +
 +2012-11-12  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Simplify by using FOR_EACH_FRAME here and there.
 +      * frame.c (next_frame, prev_frame, other_visible_frames)
 +      (delete_frame, visible-frame-list): Use FOR_EACH_FRAME.
 +      * w32term.c (x_window_to_scroll_bar): Likewise.
 +      * window.c (window_list): Likewise.
 +      * xdisp.c (x_consider_frame_title): Likewise.
 +      * xfaces.c ( Fdisplay_supports_face_attributes_p): Likewise.
 +      * xfns.c (x_window_to_frame, x_any_window_to_frame)
 +      (x_menubar_window_to_frame, x_top_window_to_frame): Likewise.
 +      * xmenu.c (menubar_id_to_frame): Likewise.
 +      * xselect.c (frame_for_x_selection): Likewise.
 +      * xterm.c (x_frame_of_widget, x_window_to_scroll_bar)
 +      (x_window_to_menu_bar): Likewise.
 +      * w32fns.c (x_window_to_frame): Likewise.  Adjust comment.
 +
 +2012-11-12  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * data.c (Qdefalias_fset_function): Now static.
 +
 +      Another tweak to vectorlike_header change.
 +      * alloc.c (struct Lisp_Vectorlike_Free, NEXT_IN_FREE_LIST):
 +      Remove, and replace all uses with ...
 +      (next_in_free_list, set_next_in_free_list):
 +      New functions, which respect C's aliasing rules better.
 +
 +2012-11-11  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * window.c (list4i): Rename from 'quad'.  All uses changed.
 +      Needed because <sys/types.h> defines 'quad' on Solaris 10.
 +
 +2012-11-11  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * xdisp.c (start_hourglass) [HAVE_NTGUI]: Add block to silence
 +      warning about mixing declarations and code in ISO C90.
 +
 +2012-11-10  Martin Rudalics  <rudalics@gmx.at>
  
        * window.c (Fsplit_window_internal): Set combination limit of
        new parent window to t iff Vwindow_combination_limit is t;
diff --cc src/xdisp.c
Simple merge